import json


def convert_demo(value):
    if isinstance(value, str):
        value = value.split('[')[1].split(']')[0]
    elif isinstance(value, list):
        value = value[0]
    print(value)
    return value


def get_ids():
    return json.dumps([{"id": 440545368}, {"id": 440553560}])